package br.com.pfc.mobile.comunicao;

import org.ksoap2.SoapEnvelope;
import org.ksoap2.serialization.SoapObject;
import org.ksoap2.serialization.SoapSerializationEnvelope;


public class Comunicacao {
	public static final String NAMESPACE = "http://webservice.siac/";

	public static final String URL = "http://10.8.242.19:8084/PFC/Comunicacao";


	private SoapObject request;
	private SoapSerializationEnvelope envelope;
	
	protected SoapObject getSoapObject(String metodo){
		 request = new SoapObject(NAMESPACE, metodo);
		 return request;		
	}
	
	protected SoapSerializationEnvelope getEnvelope(){
		 envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);
		 envelope.setOutputSoapObject(request);
		 return envelope;
	}
}
